\hypertarget{class_queue}{\section{Queue$<$ T $>$ Class Template Reference}
\label{class_queue}\index{Queue$<$ T $>$@{Queue$<$ T $>$}}
}


{\ttfamily \#include $<$Queue.\-h$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_queue_af73bb29c868f7b37f369c668f114bd9f}{Queue} ()
\item 
\hyperlink{class_queue_aa7eef1b427e24555780505de20e9acbc}{$\sim$\-Queue} ()
\item 
void \hyperlink{class_queue_ab579635897753f0602a99b16a339fdfe}{add} (T x)
\item 
T \hyperlink{class_queue_abeee018138cbb5226e5352a5788e23bd}{pop} ()
\item 
int \hyperlink{class_queue_a1f6aba7a3c4ffe81d91dba68664b97e9}{length} ()
\item 
T \& \hyperlink{class_queue_a8924fedbc98424f62e13cbad90268b2a}{operator\mbox{[}$\,$\mbox{]}} (const int depth)
\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
T $\ast$ \hyperlink{class_queue_a713dd0be3a3f57ecc92388b718bebee7}{increase\-Size} ()
\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
T $\ast$ \hyperlink{class_queue_ae0d131edb9e39f4240e563e1681e7638}{list}
\item 
int \hyperlink{class_queue_a28a2564e05e20740c78c62005919600b}{size}
\item 
int \hyperlink{class_queue_a22e20e9bced3776c172f5fec6ca8d92a}{current}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$class T$>$class Queue$<$ T $>$}



Definition at line 12 of file Queue.\-h.



\subsection{Constructor \& Destructor Documentation}
\hypertarget{class_queue_af73bb29c868f7b37f369c668f114bd9f}{\index{Queue@{Queue}!Queue@{Queue}}
\index{Queue@{Queue}!Queue@{Queue}}
\subsubsection[{Queue}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ {\bf Queue}$<$ T $>$\-::{\bf Queue} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{class_queue_af73bb29c868f7b37f369c668f114bd9f}


Definition at line 38 of file Queue.\-h.

\hypertarget{class_queue_aa7eef1b427e24555780505de20e9acbc}{\index{Queue@{Queue}!$\sim$\-Queue@{$\sim$\-Queue}}
\index{$\sim$\-Queue@{$\sim$\-Queue}!Queue@{Queue}}
\subsubsection[{$\sim$\-Queue}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ {\bf Queue}$<$ T $>$\-::$\sim${\bf Queue} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{class_queue_aa7eef1b427e24555780505de20e9acbc}


Definition at line 46 of file Queue.\-h.



\subsection{Member Function Documentation}
\hypertarget{class_queue_ab579635897753f0602a99b16a339fdfe}{\index{Queue@{Queue}!add@{add}}
\index{add@{add}!Queue@{Queue}}
\subsubsection[{add}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ void {\bf Queue}$<$ T $>$\-::add (
\begin{DoxyParamCaption}
\item[{T}]{x}
\end{DoxyParamCaption}
)}}\label{class_queue_ab579635897753f0602a99b16a339fdfe}


Definition at line 51 of file Queue.\-h.

\hypertarget{class_queue_a713dd0be3a3f57ecc92388b718bebee7}{\index{Queue@{Queue}!increase\-Size@{increase\-Size}}
\index{increase\-Size@{increase\-Size}!Queue@{Queue}}
\subsubsection[{increase\-Size}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ T $\ast$ {\bf Queue}$<$ T $>$\-::increase\-Size (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [private]}}}\label{class_queue_a713dd0be3a3f57ecc92388b718bebee7}


Definition at line 74 of file Queue.\-h.

\hypertarget{class_queue_a1f6aba7a3c4ffe81d91dba68664b97e9}{\index{Queue@{Queue}!length@{length}}
\index{length@{length}!Queue@{Queue}}
\subsubsection[{length}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ int {\bf Queue}$<$ T $>$\-::length (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_queue_a1f6aba7a3c4ffe81d91dba68664b97e9}


Definition at line 20 of file Queue.\-h.



References Queue$<$ T $>$\-::size.

\hypertarget{class_queue_a8924fedbc98424f62e13cbad90268b2a}{\index{Queue@{Queue}!operator\mbox{[}$\,$\mbox{]}@{operator[]}}
\index{operator\mbox{[}$\,$\mbox{]}@{operator[]}!Queue@{Queue}}
\subsubsection[{operator[]}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ T\& {\bf Queue}$<$ T $>$\-::operator\mbox{[}$\,$\mbox{]} (
\begin{DoxyParamCaption}
\item[{const int}]{depth}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_queue_a8924fedbc98424f62e13cbad90268b2a}


Definition at line 24 of file Queue.\-h.



References Queue$<$ T $>$\-::list.

\hypertarget{class_queue_abeee018138cbb5226e5352a5788e23bd}{\index{Queue@{Queue}!pop@{pop}}
\index{pop@{pop}!Queue@{Queue}}
\subsubsection[{pop}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ T {\bf Queue}$<$ T $>$\-::pop (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{class_queue_abeee018138cbb5226e5352a5788e23bd}


Definition at line 62 of file Queue.\-h.



\subsection{Member Data Documentation}
\hypertarget{class_queue_a22e20e9bced3776c172f5fec6ca8d92a}{\index{Queue@{Queue}!current@{current}}
\index{current@{current}!Queue@{Queue}}
\subsubsection[{current}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ int {\bf Queue}$<$ T $>$\-::current\hspace{0.3cm}{\ttfamily [private]}}}\label{class_queue_a22e20e9bced3776c172f5fec6ca8d92a}


Definition at line 31 of file Queue.\-h.

\hypertarget{class_queue_ae0d131edb9e39f4240e563e1681e7638}{\index{Queue@{Queue}!list@{list}}
\index{list@{list}!Queue@{Queue}}
\subsubsection[{list}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ T$\ast$ {\bf Queue}$<$ T $>$\-::list\hspace{0.3cm}{\ttfamily [private]}}}\label{class_queue_ae0d131edb9e39f4240e563e1681e7638}


Definition at line 29 of file Queue.\-h.



Referenced by Queue$<$ T $>$\-::operator\mbox{[}$\,$\mbox{]}().

\hypertarget{class_queue_a28a2564e05e20740c78c62005919600b}{\index{Queue@{Queue}!size@{size}}
\index{size@{size}!Queue@{Queue}}
\subsubsection[{size}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ int {\bf Queue}$<$ T $>$\-::size\hspace{0.3cm}{\ttfamily [private]}}}\label{class_queue_a28a2564e05e20740c78c62005919600b}


Definition at line 30 of file Queue.\-h.



Referenced by Queue$<$ T $>$\-::length().



The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
C\-:/\-Users/\-Axel/\-Desktop/informatica/\-Projects/\-Workspace C++/\-Game Engine/src/\-Math/\-Data Structures/\hyperlink{_queue_8h}{Queue.\-h}\end{DoxyCompactItemize}
